from selenium.webdriver.common.by import By
from pages.base_page import BasePage
from config.config import HOST

'''财务页面'''


class KnowlegeInfoPage(BasePage):
    # 添加应收款页面url
    url='http://{}/crm/index.php?m=knowledge&a=view&id=4'.format(HOST)

    def get_knowlege_info_url(self):
        '''获取知识详情的url'''
        return self.current_url()